<%@page pageEncoding="UTF-8"%>
<%
    String gameId = (String) session.getAttribute("game_id");
    if (gameId == null) {
        response.sendRedirect("home.jsp");
    } else {
        response.sendRedirect("../XiangQiGame?game_id=" + gameId);
    }
%>